package com.mr.dao.entity.admin;

import javax.persistence.Entity;
import javax.persistence.OneToOne;

import com.mr.constants.Tables;
import com.mr.dao.entity.BaseEntity;

@Entity(name = Tables.USER_DETAILS)
public class UserDetails extends BaseEntity {
	private static final long serialVersionUID = 2170447272046544884L;
	private String total_commission;
	@OneToOne
	private User admin_user;

	public String getTotal_commission() {
		return total_commission;
	}

	public void setTotal_commission(String total_commission) {
		this.total_commission = total_commission;
	}

	public User getAdmin_user() {
		return admin_user;
	}

	public void setAdmin_user(User admin_user) {
		this.admin_user = admin_user;
	}
}
